package cn.dt.dthouse.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Viewhouse {
    private Integer houseid;

    private String housedesc;

    private Integer typeid;

    private Integer mouthiyrent;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publishdate;

    private String typename;

    public Integer getHouseid() {
        return houseid;
    }

    public void setHouseid(Integer houseid) {
        this.houseid = houseid;
    }

    public String getHousedesc() {
        return housedesc;
    }

    public void setHousedesc(String housedesc) {
        this.housedesc = housedesc == null ? null : housedesc.trim();
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public Integer getMouthiyrent() {
        return mouthiyrent;
    }

    public void setMouthiyrent(Integer mouthiyrent) {
        this.mouthiyrent = mouthiyrent;
    }

    public Date getPublishdate() {
        return publishdate;
    }

    public void setPublishdate(Date publishdate) {
        this.publishdate = publishdate;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename == null ? null : typename.trim();
    }
}